const app = getApp()
Page({
    data: {
        user: null,
    },
    onShow() {
        this.setData({
            user: app.globalData.student
        })
    },
    jumpToExam(event) {
        wx.navigateTo({
            url: '/pages/exam-home/index?code=' + event.currentTarget.dataset.code
        })
    }
})